package com.tinem.platform.client.network;

import com.tinem.platform.module.pojo.vo.network.ip.IpInfoReq;
import com.tinem.platform.module.pojo.vo.network.ip.IpInfoRes;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Primary;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author fzh
 * @version v1
 * @program: platform
 * @className IpClient
 * @description TODO
 * @site 
 * @company 
 * @create 2020-08-25 16:24
 */
@FeignClient(value = "platform-cloud-service-network")
public interface IpClient {

    @GetMapping("/ip/locat.api")
    @ResponseBody
    IpInfoRes locat(@RequestBody IpInfoReq req);

}
